import {baseRequest} from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/tjzy/sms/receipt/` + url, ...arg)
export default {
	pageList(data) {
		return request('pageList', data, 'post')
	},
	getSendDetail(batchNumber, phone) {
		return request('getSendDetail?batchNumber=' + batchNumber + '&phone=' + phone, null, 'get')
	},
	getcountByBatchNumber(batchNumber) {
		return request('countByBatchNumber/' + batchNumber, null, 'get')
	}
}
